package cn.new18.testactivitytask.bean;

import java.util.ArrayList;

/**
 * Created by RaoWei on 2017/2/15 18:18.
 */

public class Student {
    private String name;
    private int age;

    public ArrayList<Course> getCourses() {
        return courses;
    }

    public void setCourses(ArrayList<Course> courses) {
        this.courses = courses;
    }

    private ArrayList<Course> courses;
    private Grade grade;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public class Course {
        private String name;
        private float grade;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public float getGrade() {
            return grade;
        }

        public void setGrade(float grade) {
            this.grade = grade;
        }
    }

    public class Grade {
        private int Chinese;
        private int English;

        public int getChinese() {
            return Chinese;
        }

        public void setChinese(int chinese) {
            Chinese = chinese;
        }

        public int getEnglish() {
            return English;
        }

        public void setEnglish(int english) {
            English = english;
        }

        public int getMath() {
            return Math;
        }

        public void setMath(int math) {
            Math = math;
        }

        private int Math;
    }
}
